<div ng-controller="WmsCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/wms/list">{{'仓库'| translate}}</a></li>
        <li class="active">
            {{"List"|translate}}
            <a href="#/wms/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
            <!-- <a href="#/wms/hgitemimport" class="sui-btn btn-primary">{{&quot;海关备案商品导入&quot; | translate}}</a>  -->
        </li>
        
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'#'|translate}}</th>
                <th>{{'仓库备案号'|translate}}</th>
                <th>{{'仓库名称'|translate}}</th>
                <th>{{'绑定发货点'|translate}}</th>
                <th>{{'操作'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in lists">
                <td>{{list.wms_id}}</td>
                <td>{{list.code}}</td>
                <td>{{list.name}}</td>
                <td>
                    <chose-pickpoint member-check="backpickpoint(pickpoint,list)" title="添加发货地址" xclass="sui-btn btn-success ng-binding" chosed-items="list.f_id" type="1"></chose-pickpoint>
                    <br/>
                    <pickpoint-info ng-model="list.f_id" ></pickpoint-info>
                </td>
                <td>
                    <a href="#/wms/customsitemslist?shop_code={{list.sh_code}}" class="sui-btn btn-primary">{{'备案商品' | translate}}</a>
                    <a href="#/wms/add?wms_id={{list.wms_id}}" class="sui-btn btn-primary">{{'edit'|translate}}</a>
<!--                    <button class="sui-btn btn-danger" ng-click="del(list.wms_id)">{{'删除'|translate}}</button>-->
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="pageNo" page-size="pageSize" total="itemsTotal" get-data="getLabelList(pageNo)"></pager>
    <!-- 分页end -->
</div>
